<g2-card [title]="title" [bordered]="bordered" [total]="total"
  [footer]="footerTp" [contentHeight]="contentHeight">
</g2-card>

<ng-template #footerTp>
  <span style="font-size:larger;">{{footer}}</span>
</ng-template>